<xml>
<ToUserName><![CDATA[{$content.from}]]></ToUserName>
<FromUserName><![CDATA[{$content.to}]]></FromUserName>
<CreateTime>{$content.time}</CreateTime>
<MsgType><![CDATA[news]]></MsgType>
<ArticleCount>{$content.count}</ArticleCount>
<Articles>
{foreach $content.articles as $article}
<item>
<Title><![CDATA[{$article.title}]]></Title> 
<Description><![CDATA[{$article.desc}]]></Description>
{if $article.picurl neq 0}
<PicUrl><![CDATA[{$article.picurl}]]></PicUrl>
{/if}
<Url><![CDATA[{$article.url}]]></Url>
</item>
{/foreach}
</Articles>
</xml> 